home *** CD-ROM | disk | FTP | other *** search
/ SPACE 2 / SPACE - Library 2 - Volume 1.iso / apps / 9 / applic / oki192.hex < prev    next >
Encoding:
Text File  |  1986-04-17  |  9.3 KB  |  256 lines

  1. ****************************************************************
  2. *
  3. *    Epson RX-80 Matrix Printer Driver Configuration Table
  4. *
  5. *    some commands for FX80 and JX80 are also included,
  6. *    but they are commented out.
  7. *
  8. *    This file contains tables defining the code sequences
  9. *    to be sent to the printer to perform various functions
  10. *    and to access the characters from codes in the Atari
  11. *    character set.
  12. *
  13. ****************************************************************
  14.  
  15. *
  16. * Name of printer
  17. * ===============
  18. *
  19. OKI ML192
  20.  
  21. *
  22. * Miscellaneous configurable variables
  23. * ====================================
  24. *
  25. * 1: printer type, 0=dot matrix, 1=daisy wheel
  26. *    Note if printer type is 0 the following 4 variables are never used.
  27. * 2: unit width of one character
  28. * 3: unit height of one line
  29. * 4: Approximate middle of carriage after formfeed
  30. * 5: Carriage shift for bold overstrike
  31. *
  32. 0, 0, 0, 0, 0
  33.  
  34. *
  35. * Printer characteristics
  36. * =======================
  37. *
  38. * This table specifies the printer command sequences.
  39. * If the top bit of a code is set, then this indicates the position
  40. * of a parameter passed to the printer. The code whose top bit is set
  41. * in this table is added to the parameter passed before being sent to the
  42. * printer. It is not used in all command sequences, only in those where 
  43. * the printer requires  a variable value such as the length of a vertical 
  44. * tab.
  45. *
  46. * 0            * Character width
  47. 1, D, A        * Linefeed WITH return
  48. * 2            * Forward print
  49. * 3            * Reverse print
  50. * 4, 1B, 42, 80, 0, B                * Vertical tab to line (FX or LX)
  51. * 5            * Absolute horizontal tab 
  52. 6, 1B, 30, 1B, 54 * Draft bold on
  53. 7, 1B, 30, 1B, 49 * Draft bold off
  54. 8, 1B, 30, 1B, 54, 1B, 48 * Near Letter Quality (NLQ) bold on (LX80)
  55. 9, 1B, 31, 1B, 49 * NLQ bold off
  56. A, 1B, 30, 1B, 21, 2F, * Draft italic on
  57. B, 1B, 30, 1B, 21, 2A, * Draft italic off
  58. C, 1B, 30, 1B, 48, 1B, 21, 2F * NLQ italic on
  59. D, 1B, 31, 1B, 49, 1B, 21, 2A * NLQ italic off
  60. * E            * Draft light on
  61. * F            * Draft light off
  62. * 10, 1B, 78, 0  * NLQ light on
  63. * 11, 1B, 78, 1  * NLQ light off
  64. 12, 1B, 30, 1B, 4A * Draft superscript on
  65. 13, 1B, 30, 1B, 4B * Draft superscript off
  66. 14, 1B, 31, 1B, 4A * NLQ superscript on
  67. 15, 1B, 31, 1B, 4B * NLQ superscript off
  68. 16, 1B, 30, 1B, 4C * Draft subscript on
  69. 17, 1B, 30, 1B, 4D * Draft subscript off
  70. 18, 1B, 31, 1B, 4C * NLQ subscript on
  71. 19, 1B, 31, 1B, 4D * NLQ subscript off
  72. 1A, 1B, 30, 1B, 43 * Draft underline on
  73. 1B, 1B, 30, 1B, 44 * Draft underline off
  74. 1C, 1B, 31, 1B, 43 * NLQ underline on
  75. 1D, 1B, 31, 1B, 44 * NLQ underline off
  76. 1E, C          * Formfeed
  77. 1F, 12         * Horizontal initialisation
  78. * 20           * Vertical initialisation
  79. 21, 1B, 40     * Termination: printer reset
  80. 0              * NULL termination byte
  81.  
  82. *
  83. * Translation Table
  84. * =================
  85. *
  86. * This table provides translation from single Atari input bytes into
  87. * multiple Epson printer codes, and is useful for printing extraneous
  88. * characters such as accented characters etc. All characters are 
  89. * subjected to translation, but if there is no entry in the table for
  90. * a particular code, then the original code is sent to the printer.
  91. *
  92. * The entries must be arranged in ascending order of Atari input
  93. * code. The table is NULL terminated.
  94.  
  95. 0                                  * NULL: print a space 
  96. 1,            * No Up arrow
  97. 2,            * No Down arrow
  98. 3,            * No Right arrow
  99. 4,            * No Left arrow
  100. 5             * No close box
  101. 6             * No size box
  102. 7             * No full box
  103. 8             * No tick
  104. 9             * No clock
  105. A             * No bell
  106. B             * No musical note
  107. E             * No LH Atari symbol     
  108. F             * No RH Atari symbol
  109. 10, 30        * LCD 0
  110. 11, 31        * LCD 1
  111. 12, 32        * LCD 2    
  112. 13, 33        * LCD 3
  113. 14, 34        * LCD 4
  114. 15, 35        * LCD 5
  115. 16, 36        * LCD 6
  116. 17, 37        * LCD 7     
  117. 18, 38        * LCD 8
  118. 19, 39        * LCD 9     
  119. 5E, 1B, 52, 0, 5E        * ^ from USA fount
  120. 60, 1B, 52, 0, 60        * ' from USA fount
  121. 7B, 1B, 52, 0, 7B        * { from USA fount
  122. 7C, 1B, 52, 0, 7C        * | from USA fount
  123. 7D, 1B, 52, 0, 7D        * } from USA fount
  124. 7E, 1B, 52, 0, 7E        * ~ from USA fount
  125. 7F                       * No triangle
  126. 80, 43, 8, 2C            * Capital C cedilla: C backspace ,
  127. 81, 1B, 21, 43, 7D        * Lower case u umlaut from German fount
  128. 82, 1B, 21, 44, 7B        * Lower case e acute from French fount 
  129. 83, 61, 8, 1B, 52, 0, 5E * Lower case a circumflex: a backspace USA ^
  130. 84, 1B, 52, 2, 7B        * Lower case a umlaut from German fount
  131. 85, 1B, 52, 1, 40        * Lower case a grave from French fount
  132. 86, 1B, 52, 4, 7D        * Lower case a boll from Danish 1 fount
  133. 87, 1B, 52, 1, 5C        * Lower case c cedilla from French fount
  134. 88, 65, 8, 1B, 52, 0, 5E * Lower case e circumflex: e backspace USA ^
  135. 89, 65, 8, 1B, 52, 1, 7E * Lower case e umlaut: e backspace French umlaut
  136. 8A, 1B, 52, 1, 7D        * Lower case e grave from French fount
  137. 8B, 69, 8, 1B, 52, 1, 7E * Lower case i umlaut: i backspace French umlaut
  138. 8C, 69, 8, 1B, 52, 0, 5E * Lower case i circumflex: i backspace USA ^
  139. 8D, 1B, 52, 6, 7E        * Lower case i grave from Italian fount
  140. 8E, 1B, 52, 2, 5B        * Capital A umlaut from German fount
  141. 8F, 1B, 52, 4, 5D        * Capital A boll from Danish 1 fount
  142. 90, 1B, 52, 9, 40        * Capital E acute from Norwegian fount
  143. 91, 1B, 52, 4, 7B        * Lower case ae dipthong from Danish 1 fount
  144. 92, 1B, 52, 4, 5B        * Capital AE dipthong from Danish 1 fount
  145. 93, 6F, 8, 1B, 52, 0, 5E * Lower case o circumflex: o backspace USA ^
  146. 94, 1B, 52, 2, 7C        * Lower case o umlaut from German fount
  147. 95, 1B, 52, 6, 7C        * Lower case o grave from Italian fount
  148. 96, 75, 8, 1B, 52, 0, 5E * Lower case u circumflex: u backspace USA ^
  149. 97, 1B, 52, 1, 7C        * Lower case u grave from French fount
  150. 98, 79, 8, 1B, 52, 1, 7E * Lower case y umlaut: y backspace French umlaut
  151. 99, 1B, 52, 2, 5C        * Capital O umlaut from German fount
  152. 9A, 1B, 52, 2, 5D        * Capital U umlaut from German fount
  153. 9B, 63, 8, 1B, 52, 0, 7C * c cent: c backspace USA |
  154. 9C, 1B, 52, 3, 23        * Pound sterling from UK fount
  155. 9D, 1B, 52, 8, 5C        * Yen from Japanese fount
  156. 9E, 1B, 52, 2, 7E        * Esszet from German fount
  157. 9F, 66                   * Lower case swash f: print f
  158. A0, 61, 8, 27            * Lower case a acute: a backspace '
  159. A1, 69, 8, 27            * Lower case i acute: i backspace '
  160. A2, 6F, 8, 27            * Lower case o acute: o backspace '
  161. A3, 75, 8, 27            * Lower case u acute: u backspace '
  162. A4, 1B, 52, 7, 7C        * Lower case n tilde from Spanish fount
  163. A5, 1B, 52, 7, 5C        * Capital N tilde from Spanish fount
  164. A6, 61, 8, 5F            * Lower case a underline: a backspace underline
  165. A7, 6F, 8, 5F            * Lower case o underline: o backspace underline
  166. A8, 1B, 52, 7, 5D        * Inverted ? from Spanish fount
  167. A9                       * No top left corner     
  168. AA                       * No top right corner
  169. AB                       * No 1/2 fraction
  170. AC                       * No 1/4 fraction
  171. AD, 1B, 52, 7, 5B        * Inverted ! from Spanish fount
  172. AE                       * No <<
  173. AF                       * No >>
  174. B0, 61, 8, 1B, 52, 0, 7E * Lower case a tilde: a backspace USA ~
  175. B1, 6F, 8, 1B, 52, 0, 7E * Lower case o tilde: o backspace USA ~
  176. B2, 1B, 52, 4, 5C        * Capital crossed O from Danish 1 fount
  177. B3, 1B, 52, 4, 7C        * Lower case crossed o from Danish 1 fount
  178. B4                       * No lower case oe dipthong
  179. B5                       * No capital OE dipthong
  180. B6, 41                   * No capital A grave: print A
  181. B7, 41                   * No capital A tilde: print A
  182. B8, 4F                   * No capital O tilde: print O
  183. B9, 1B, 52, 1, 7E        * Umlaut from French fount
  184. BA, 27                   * Acute: print '
  185. BB                       * No dagger
  186. BC                       * No paragraph symbol
  187. BD                       * No copyright symbol
  188. BE                       * No Registered symbol
  189. BF                       * No Trademark symbol
  190. C0, 79, 8, 1B, 52, 1, 7E * ij ligature: y backspace French umlaut
  191. C1, 59                   * Capital IJ ligature: print Y
  192. C2        * No Hebrew...
  193. C3
  194. C4
  195. C5
  196. C6
  197. C7
  198. C8
  199. C9
  200. CA
  201. CB
  202. CC
  203. CD
  204. CE
  205. CF
  206. D0
  207. D1
  208. D2
  209. D3
  210. D4
  211. D5
  212. D6
  213. D7
  214. D8
  215. D9
  216. DA
  217. DB
  218. DC
  219. DD, 1B, 52, 2, 40   * Section mark from German fount
  220. DE        * No dropped circumflex
  221. DF        * No infinity
  222. E0        * No alpha
  223. E1, 1B, 52, 2, 7E   * Esszet from German fount     
  224. E2        * No Greek....
  225. E3
  226. E4
  227. E5
  228. E6
  229. E7
  230. E8
  231. E9
  232. EA
  233. EB
  234. EC
  235. ED
  236. EE
  237. EF
  238. F0, 3D, 8, 5F       * Equivalence: = backspace _
  239. F1, 2B, 8, 5F       * +-: + backspace _
  240. F2, 3E, 8, 5F       * >=: > backspace _
  241. F3, 3C, 8, 5F       * <=: < backspace _
  242. F4                  * No integral top piece
  243. F5                  * No integral bottom piece
  244. F6, 3A, 8, 2D       * Division sign: : backspace -
  245. F7                  * No twiddly = symbol
  246. F8, 1B, 52, 1, 5B   * Degree symbol from French fount
  247. F9        * No superior bullet
  248. FA        * No inferior bullet
  249. FB        * No square root sign
  250. FC        * No superior n
  251. FD        * No superior 2
  252. FE        * No superior 3
  253. FF        * No macron     
  254. 0